home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / SNNSV32.ZIP / SNNSv3.2 / xgui / sources / ui_main.ph < prev    next >
Encoding:
Text File  |  1994-04-25  |  1.9 KB  |  85 lines

  1. /*****************************************************************************
  2.   FILE           : ui_main.ph
  3.   SHORTNAME      : main.ph
  4.   SNNS VERSION   : 3.2
  5.  
  6.   PURPOSE        : Header file of correspondent '.c' file
  7.   NOTES          :
  8.  
  9.   AUTHOR         : Tilman Sommer
  10.   DATE           : 1.4.1990
  11.  
  12.   CHANGED BY     : Guenter Mamier
  13.   IDENTIFICATION : @(#)ui_main.ph    1.14 3/2/94
  14.   SCCS VERSION   : 1.14
  15.   LAST CHANGE    : 3/2/94
  16.  
  17.              Copyright (c) 1990-1994  SNNS Group, IPVR, Univ. Stuttgart, FRG
  18.              
  19. ******************************************************************************/
  20.  
  21.  
  22. #ifndef _UI_MAIN_DEFINED_
  23. #define _UI_MAIN_DEFINED_
  24.  
  25.  
  26. /* begin global definition section */
  27.  
  28.  
  29. void main (int, char **);
  30.  
  31.  
  32. #ifndef MAXPATHLEN
  33. #define MAXPATHLEN  512
  34. #endif
  35.  
  36.     /* path name (see file panel). Initial value by getwd() */
  37. char         ui_pathname[MAXPATHLEN] = "\0";
  38.  
  39.  
  40. XtAppContext ui_appContext;
  41.  
  42.     /* label widgets of status info */
  43. Widget       ui_stat_posWidget;
  44. Widget       ui_stat_selNoWidget;
  45. Widget       ui_stat_flagsWidget;
  46.  
  47.  
  48. /* end global definition section */
  49.  
  50.  
  51. /* begin private definition section */
  52.  
  53.  
  54. static void ui_init (void);
  55. static void ui_xCreatePanel (void);
  56. static void ui_showBanner (Widget);
  57. static void ui_clickEventProc (Widget, Display *, XEvent *);
  58.  
  59.  
  60. static String fallback_resources[] = {
  61.     "*help.label: HELP",
  62.     "*display.label: DISPLAY",
  63.     "*view3d.label: VIEW3d",
  64.     "*text.label: TEXT",
  65.     "*remote.label: REMOTE",
  66.     "*file.label: FILE",
  67.     "*quit.label: QUIT",
  68.     "*sPanel*trigger.orientation:   horizontal",
  69.     "*allowShellResize: True",
  70.     "*dummyMsg.label: Still not implemented!",
  71.     "*manMsg.label: SNNS 3.2 (c) 1990-94 SNNS-Group at IPVR, University of Stuttgart",
  72.     NULL,
  73. };
  74. static Widget       ui_infoBox; /* frame widget (form) of info item */
  75.  
  76.  
  77. /* end private definition section */
  78.  
  79.  
  80. #endif /* _UI_MAIN_DEFINED_ */
  81.  
  82.  
  83. /* end of file */
  84. /* lines: 41 */
  85.